package com.qf;//默认自动扫描的基本包   com.qf.controller com.qf.service c

import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.data.redis.RedisAutoConfiguration;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.context.annotation.Bean;

/**
 * @author lixu
 * 启动类  | 引导类
 *
 * 帮助我们启动内嵌的Tomcat服务器
 *
 * (exclude = RedisAutoConfiguration.class)  : 表示对Redis启动器的自动装配实现类排除
 */
@SpringBootApplication(exclude = {RedisAutoConfiguration.class, DataSourceAutoConfiguration.class})  //SpringBoot应用
//@ComponentScan(basePackages = {"com.qf.controller"})  //指定扫描基本包的注解
public class Application {

    public static void main(String[] args) {
        SpringApplication.run(Application.class,args);
    }

    /**
     * <bean id  class
     */
/*    @Bean
    public void dataSource(){



    }*/


}
